package com.aaa.service.impl;


import com.aaa.entity.Goods;
import com.aaa.mapper.GoodsMapper;
import com.aaa.service.GoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {

    @Resource
    GoodsMapper goodsMapper;

    @Override
    public List<Goods> selectAll() {
        return goodsMapper.selectAll();
    }

    @Override
    public List<Goods> Rimg(Integer gid) {
        return goodsMapper.Rimg(gid);
    }
}
